package ren.xbcr.schoolbus.client.util;

import android.os.Environment;

import java.io.File;

/**
 * Created by Jian on 2015/11/2.
 */
public class Constants {
//    public static final String REST_URL = "http://121.42.196.24:8080/xbcr";
    public static final String REST_URL = "http://192.168.1.121:8080/xbcr";
    public static final String GET_ALL_DRIVER_URL = REST_URL + "/public/get-all-bus-driver";
    public static final String GET_SCHOOLS_URL = REST_URL + "/public/get-schools";
    public static final String LOGIN_OR_REGISTER_URL = REST_URL + "/public/login-or-register";
    public static final String SEND_VERIFY_CODE_URL = REST_URL + "/public/send-sms-validation";
    public static final String CLIENT_SYNC_SERVER_URL = REST_URL + "/public/client-sync-server";
    public static final String POST_DRIVER_RATING_URL = REST_URL + "/public/post-driver-rating";
    public static final String RECRUIT_DRIVER_URL = REST_URL + "/public/recruit-driver";
    public static final String FETCH_EXIST_RECRUIT_DRIVER_URL = REST_URL + "/public/fetch-recruit-info";
    public static final String GET_VERSION_CODE = REST_URL + "/public/get-client-version-code";
    public static final String CALL_CAR_URL = REST_URL + "/public/call-car";
    public static final String BUSINESS_COOPERATION_WEB_RUL = REST_URL + "/public/page/business";
    public static final String VALID_CODE = "validCode";

    public static final String BUNDLE_DRIVER_ID = "BUNDLE_DRIVER_ID";
    public static final String BUNDLE_RETURNED_CALL_MESSAGE = "BUNDLE_RETURNED_CALL_MESSAGE";
    public static final String BUNDLE_DRIVER_NAME = "BUNDLE_DRIVER_NAME";
    public static final String RATING_NUMBER = "RATING_NUMBER";
    public static final String USER_TELEPHONE = "USER_TELEPHONE";



    public static final String ERROR_TELEPHONE = "电话信息错误";


    //版本信息
    public static int localVersion = 1;
    public static int serverVersion = 1;
    public static String downloadUrl;

    /* 下载包安装路径 */
    public static final String savePath = "/xbcr/";;

}
